implementation of first one to many relations