removed platform dependency