exclude unused and add spoj