percDown function is buggy. Have to work on it