updated version to 1.5.1 for added "is_valid?" method