Damn, left some debugging print statements in. removed them now!