changed some things + added second implementation of "zawiera"