attributes access helper functions for nested objects