check last code and start to implement grid