Added some relational stuff