Made method static for use in other static methods