Removed nonessential parts in order to improve compatibility