Please check this. May be you have to use a dict here?