Modified to work with has one and has many relations