Inserted some changes. Fixed range values.