basic functions for returns and comments