Fixing incorrect method used.