How to use weights? | Gdev apps