removes logs
completes contains function