change from class to instance