Removed imgData being passed around