add Smelt function at different location

Change-Id: I635aeeb095f366665a2ddaf951c2355a36287511