added few routines