added some simple functionality