added comments
function for parsing values for rectangle