Trying to do this funcional