added a fraction grabber