My attempt at a decent application :]