alt plug constructor