added optional lifestage in query return clause