Matheus: Huge correct code