modify method to day class