took out non-useful code