Sorted code and started to make things work.