added reservation checking