refactoring
improving doc
utility function
refactoring
control to parse json/application for in attribute