Converted instance to static instance instead of constructor