moved attribute bindign from model to context