add attribute-binding functionallity (worked good)