Making code compile