added rubberbanding