working with openAM