implement label positioning first version