new attributes added according to changing requirements
query 99 coded