avoid objects where primary types in use