only params are w and d