implemented frontend boxes