use real object in place of doubles