added planning stuff