fixed some bugs and added from seed methods