Somekind of function overloading... the best i could come up with... minor fixes