p27: changed var names