proper naming of topic, removed obsolete sin function