added few functions for testing