Added CodeFormatted function for easier code formatting