basic function accomplishment

basic function accomplishment