removed hardcoding of url link to use a method instead