Still need to implement popping.