Create query

changed variables