in progress of implementing database implementation with postCreate