lets use a class instead