created static method
fixing bugs