lopes BPy modified