adding some basic control