added clamp method. set up grunt. still setting up tests