added self to get gains
removed .pyc