add other functions in queue