updated turn right function