added yaml load datatypes to methods