added weird slope stuff parsa requested