removed invalid public statement, now works