changed static class from class to abstract class