Implemented importance function