Transformed comment section into callable function