made changes to last p and effort