Initial implementation of weight