partially implemented run feature