remove common functionality