Learning Beast code