define some more simple functions