fixed border to diamond and remove coordinate variable