updated methods to static