comparing alex code