added a few methods in.