init changes to support menu