proper implementation for firefoxos
pass by only coords
resolve merge conflicts