Got rid of compile errors