Cleaned up, attempted uncomplication as hell.