changed to non-static method