changed base text font size, fixed mistakes in implementation
