Added selection for analasis from table