try solution with more apply.