bug fixes: require was missing, assignment oops; v0.3.1