added efq fuctions with variables