implemented an ungly UI