formatting buy