removed has many as it was causing an error and has been replaced with gem