half way through improved object loader