Removed some prints. Previous version to optimization