change nodes instad of functions, added play