added method to minimize css output
code cleanup