implement helper on front page