changed rate and distence