added skeleton for graphs