Added limit checks on value to make the gem more friendly