add basic functionality, next is highlighting