1. added type
added basic user control.