add util class, refactor code, edit css