modified each and first methods