trying to implement pyro