take get parameter into account