trimmed unecessary parts