changes to make 2 class classification possible