added stdlib. added a validator