modyfied plattform.h