added sample code for start row dict and some correction