removed before method and initialised robot inline