added skeleton for comp. functions