added selections. Now working on adding selections inside conditions