implemented new controls
added serial mode