trimmed out uncessary stuff