started writing convenience functions