Add view cost functions