implements some ui features