update makefile and added queue