move all code to processing