updated NSLogs for debugging