added hook for new platform