added function to parse @bind in code