edit: relocated uniform calls