Added flat modifier