stupid code prettyfication