the ```if contact_size > 0``` could be done here and then have a ```if contacts_size <20 ``` nested