rows and cols were hardcoded??