introduced platform + added more boilerplate
fixed wrong function name
added TODO