finished modifing the function for half rock/half water