Added some converience functions