adding some more helper methos