added method to bind tags to