Mass functions for eight nearby galactic clusters