added few functions