changed methods from being static