Adding some basic weight functionality