bugs fixed and stuff on interface