replace GO with ;
add apply() test