What was Pelayos' plan