implement source command