Implemented console, as well as randomised coefficients