Added function queue