now standingwave uses lambda functions for the fields