no need for variables
use JSON extension
use .bind extension instead of .bd
fix syntax
cleanup model