temp project as this code may not be consistent with the original PyView