changed method to ways