changed to manytomany model