added "_CRT_SECURE_NO_WARNINGS" to preprocessor settings