Determines size and creates