New shorter version of frequencies method