Added a few functions