made extension more functional...just need to make it pretty now