Prolog continued, not working