initial code commit - working draft