not compiling - move into script