some methods created for front-end purchasing