adding simple wave method