added some logging to view but stuff seems to not be working.. working on it...