removed RAF - removed debug method