it is clients' fault if they try to access front/top of an empty container. they should panic.