Fixed Grid and started trying to implement main thread