corrected changed var name