modyfy the method