fleshing out data structuresa bit more