improved loadby method in base, added unit spec