Removing incorrect function signature from previous approach