added init method in waves