add weight and gravity property