First version of tested routines