Simple UI impl
fixed bugs