play with function to compute effects